<%@ page language="java" contentType="text/html; charset=US-ASCII"
    pageEncoding="US-ASCII"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<!-- 	<script type="text/javascript" src=".../jquery-1.3.2.min.js"></script> -->
<!-- 	<script type="text/javascript" src=".../jquery.validate.min.js"></script> -->
	
<!-- 	<script type="text/javascript"> -->
<!--  		$('#produtosForm').validate(); -->
<!-- 	</script> -->
</head>
<body>
	<form id="simuladoForm" action="<c:url value="/simulado"/>" method="POST">
		<fieldset>
			<legend>Editar Simulado</legend>
			
			<label for="nome">Nome:</label> 
			<input id="nome" type="text" name="simulado.nome" value="${simulado.nome}"/>
			
			<fieldset>
		<legend>Lista de Questoes</legend>
	</fieldset>
	<table border="1">
	<thead>
	<tr>
		<th>ID</th>
		<th>Assunto</th>
		<th>Materia</th>
<%-- 		<c:if test="${usuarioWeb.logado }"> --%>
<!-- 			<th>Editar</th> -->
<!-- 			<th>Remover</th> -->
<%-- 		</c:if> --%>
	</tr>
	</thead>
	<c:forEach var="questao" items="${questoesList}">
		<tr>
			<td>${questao.id}</td>
			<td>${questao.assunto}</td>
			<td>${questao.materia}</td>
<%-- 			<c:if test="${usuarioWeb.logado }"> --%>
<!-- 				<td align="center"> -->
<%-- 					<a href="<c:url value="/questoes/${questao.id}"/>">Editar</a> --%>
<!-- 				</td> -->
<!-- 				<td align="center"> -->
<%-- 					<a href="<c:url value="/questoes/${questao.id}"/>">Editar</a> --%>
<%-- 					<form action="<c:url value="/questoes/${questao.id}" />" method="post"> --%>
<!-- 						<button class="link" name="_method" value="DELETE">Remover</button> -->
<!-- 					</form> -->
<!-- 				</td> -->
<%-- 			</c:if> --%>
		</tr>	
	</c:forEach>
</table>
			
				
			<button type="submit">Enviar</button>
		</fieldset>
	</form>

</body>
</html>